<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!--优先使用 IE 最新版本和 Chrome-->
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="author" content="">
    <title></title>

    <!--全局公用样式-->
    <link rel="stylesheet" type="text/css" href="${request.contextPath}/statics/plugins/webuploader/globle.css">
	<link href="${request.contextPath}/statics/plugins/webuploader/webuploader.css" rel="stylesheet"><!-- 多图上传必须样式 -->

    <script src="${request.contextPath}/statics/plugins/webuploader/jquery-1.10.2.js"></script>
	<script src="${request.contextPath}/statics/plugins/webuploader/webuploader.js"></script>
	<script src="${request.contextPath}/statics/plugins/webuploader/diyUpload.js"></script>
</head>
<body class="">

<div class="UploadBox" id="CTypeFile" name="CTypeFile">
	<div class="fileBox" boxid="CTypeFile"></div>
	<div class="diyUpload fileAdd webuploader-container" id="CTypeFile_Picker">
<!--
		<div class="webuploader-pick"> </div>
		<div id="rt_rt_1ce693kijbsc1bar6i51rqqosn1" style="left: 0px; top: 0px; width: 168px; height: 188px; right: auto; bottom: auto; overflow: hidden; position: absolute;">
			<input name="file" class="webuploader-element-invisible" type="file" accept="*" multiple>
			<label style="background: rgb(255, 255, 255); width: 100%; height: 100%; display: block; cursor: pointer; opacity: 0;">

			</label>
		</div>
-->
	</div>
</div>

<script type="text/javascript">
	var CTypeFile = $('#CTypeFile').diyUpload({
		code:'CTYPEFILE',
		isEdit:true,
		fileNumLimit: 20,
		accept: {extensions:'*',mimeTypes:'*'},
		files:[]
	},uploadCallBack);

	//上传回调函数
	function uploadCallBack(response){
        alert(response.url);
    }
</script>

</body></html>